import math
class Solution:
    def mySqrt(self, x: int) -> int:
        return int(math.sqrt(x))

if __name__ == '__main__':
    s = Solution()
    n = 4
    n = 0
    n = 1
    n = 2
    n = 3
    n = 4
    n = 5
    n = 6
    n = 7
    # n = 8
    result = s.mySqrt(n)
    print(result)